import kiRequest from './index'

export function getPlaylistDetail(id) {
  return kiRequest.get('/playlist/detail',{id})
}

export function getPlaylistHotCate() {
  return kiRequest.get('/playlist/hot')
}
export function getPlaylistAllCate() {
  return kiRequest.get('/playlist/catlist')
}

export function getPlaylistByCate(cat,limit,before = '') {
  return kiRequest.get('/top/playlist/highquality',{cat,limit,before})
}